{% extends "base.html" %}
{% block javascript %}
<script type="text/javascript">
	$(document).ready(function(){
		$("#submit").click(function(){
			var name = $("#name").val()
			var src = $("#video").attr("src");
			$("#video").attr("src",src+name)
		})
	});
</script>
{% endblock %}
{% block title %}
mystery
{% endblock %}
{% block body %}
<video src="{{ static }}/media/mystery/" controls="controls" id="video">

</video>

<input type="text" name="" id="name" value="" />
<input type="button" name="" id="submit" value="提交" />
{% endblock %}